-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IV/EV Info on Summary Screen #6027
base: upcoming
Are you sure you want to change the base?
Conversation
…bsd/pokeemerald-expansion-kaya into rhh-upcoming_ivs_on_stat_page
…expansion into rhh-upcoming_ivs_on_stat_page
…expansion into rhh-upcoming_ivs_on_stat_page
…expansion into rhh-upcoming_ivs_on_stat_page
…date comment accordingly
…expansion into rhh-upcoming_ivs_on_stat_page
…expansion into rhh-upcoming_ivs_on_stat_page
…hanging mons, and added options for only showing IVs or only showing EVs
…expansion into rhh-upcoming_ivs_on_stat_page
… bulbapedia page.
…expansion into rhh-upcoming_ivs_on_stat_page
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
don't commit my suggestions. Just do them locally 😅
else | ||
ShowUtilityPrompt(SUMMARY_MODE_NORMAL); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
else | |
ShowUtilityPrompt(SUMMARY_MODE_NORMAL); | |
else | |
{ | |
ShowUtilityPrompt(SUMMARY_MODE_NORMAL); | |
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why does this need brackets?
src/pokemon_summary_screen.c
Outdated
else if (P_SUMMARY_SCREEN_IV_EV_BOX_ONLY == FALSE) { | ||
return (P_SUMMARY_SCREEN_IV_EV_INFO == TRUE || FlagGet(P_FLAG_IV_EV_INFO)); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
else if (P_SUMMARY_SCREEN_IV_EV_BOX_ONLY == FALSE) { | |
return (P_SUMMARY_SCREEN_IV_EV_INFO == TRUE || FlagGet(P_FLAG_IV_EV_INFO)); | |
} | |
else if (P_SUMMARY_SCREEN_IV_EV_BOX_ONLY == FALSE) | |
{ | |
return (P_SUMMARY_SCREEN_IV_EV_INFO == TRUE || FlagGet(P_FLAG_IV_EV_INFO)); | |
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
actually i could remove the brackets from this too
else | ||
return FALSE; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
else | |
return FALSE; | |
else | |
{ | |
return FALSE; | |
} |
Adds a setting to enable viewing IVs and EVs in the Summary Screen.
Description
PSS_LABEL_WINDOW_PROMPT_CANCEL
window to be a general-purpose utility prompt window, with logic implemented to display the correct prompt on each page. this takes over forPSS_LABEL_WINDOW_PROMPT_RENAME
,PSS_LABEL_WINDOW_PROMPT_INFO
, andPSS_LABEL_WINDOW_PROMPT_SWITCH
as well.src/graphics.c
that only loads the alternate tileset when the setting is enabled.ChangeStatLabel()
,ClearStatLabel()
, andWriteToStatsTilemapBuffer()
to control which label gets shown for each set of data.PutWindowTilemap()
andClearWindowTilemap()
for the utility prompt when not needed/handled by other code.SUMMARY_SKILLS_MODE_STATS, SUMMARY_SKILLS_MODE_IVS, SUMMARY_SKILLS_MODE_EVS
as different modes for newPokemonSummaryScreenData
membersMonSummaryScreen->skillsPageMode
.ShowUtilityPrompt()
andClearUtilityPrompt()
.ShowUtilityPrompt()
takes an argument to illustrate what it's doing.Configurable options:
Images
People who collaborated with me in this PR
Discord contact info and PR thread